package com.wmd.core.exceptions;

/**
 * Simple to Introduction
 *
 * @projectName:DocumentLibrary
 * @packageName:com.wmd.core.exceptions
 * @className:ValidationException
 * @Description:[一句话描述该类的功能]
 * @Author:luyincheng
 * @CreateDate:2021/3/16 15:38
 * @blog:[方法具体上行/下行参数文档]
 */
public class ValidationException extends RuntimeException{

    public ValidationException(Integer code, Object infos, String message) {
        this.code = code;
        this.infos = infos;
        this.message = message;
    }

    private Integer code;
    // private Exception exception;
    private Object infos;
    private String message;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Object getInfos() {
        return infos;
    }

    public void setInfos(Object infos) {
        this.infos = infos;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
